package com.netqin.netconnection;

/**
 * 进度状态类，用于下载进度的数据传递
 * Class description
 *
 * @author MingLi
 * @since 2012-4-20
 */
public class Progress
{
    String mUrl;
    int mProgress;
    
    public Progress(int progress,String url)
    {
        mUrl = url;
        mProgress = progress;
    }
    
    public String getUrl() {
        return mUrl;
    }

    public void setUrl(String url) {
        mUrl = url;
    }

    
    public int getProgress() {
        return mProgress;
    }

    public void setProgress(int progress) {
        mProgress = progress;
    }

    @Override
    public String toString()
    {
        return String.format("%d-%s", mProgress,mUrl);
    }
}